tar xf ${DOWNLOADDIR}/kmod-34.2.tar.xz -C ${BUILDDIR}
pushd ${BUILDDIR}/kmod-34.2
	rm m4/l*.m4
	./autogen.sh
	./configure --prefix=/usr --libdir=/usr/lib64 --bindir=/bin \
	            --sysconfdir=/etc --build=${CROSS_HOST} --host=${CROSS_TARGET} \
	            --with-xz --with-zstd --with-zlib --disable-manpages \
	            --with-bashcompletiondir=/usr/share/bash-completion/completions \
		    --with-fishcompletiondir=/usr/share/fish/vendor_completions.d \
		    as_ln_s="ln -sf"
	make ${JOBS}
	make DESTDIR=${SYSDIR}/sysroot install
	
	for target in depmod insmod lsmod modinfo modprobe rmmod; do
		ln -sfv ../bin/kmod ${SYSDIR}/sysroot/sbin/$target
	done
	ln -sfv kmod ${SYSDIR}/sysroot/bin/lsmod
popd
